home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / bjack.swf / scripts / DefineSprite_92 / frame_20 / DoAction.as
Text File  |  2006-01-17  |  462b  |  17 lines

  1. stop();
  2. if(eval("_level0:Duble") == "1" and "21" >= eval("_level0/1Player:pl1") and eval("_level0/1Player:pl1") ne "BlackJack")
  3. {
  4.    tellTarget("_level0/KDealer")
  5.    {
  6.       play();
  7.    }
  8. }
  9. if(eval("_level0:Duble") == "1" and "21" >= eval("_level0/1Player:pl1t") and eval("_level0/1Player:pl1") ne "BlackJack" and eval("_level0/1Player:bust") != "1")
  10. {
  11.    tellTarget("_level0/KDealer")
  12.    {
  13.       play();
  14.    }
  15.    set("_level0/action:Tdeal","");
  16. }
  17.